Fix the handling of VCPUs, specifically wrt the broken VCPU hotplugging, bug
authoremellor@ewan <emellor@ewan>
Wed, 5 Oct 2005 17:06:42 +0000 (18:06 +0100)
committeremellor@ewan <emellor@ewan>
Wed, 5 Oct 2005 17:06:42 +0000 (18:06 +0100)
commita00e0c297c90a31b6a1ba56d8e97fcee45918745
treeab9a8fff9425c31c66c2a1f90b89dcb5adb4f259
parentd4d9c86a251bf515644be60ea8375bd7e45c419f
Fix the handling of VCPUs, specifically wrt the broken VCPU hotplugging, bug
#280.  The cpu/<id>/availability paths had moved into /vm, but that is not
easily accessible by the hotplugging driver, so I have created a /vm entry
called vcpu_avail, so that the setting migrates along with the domain, and
moved the cpu/<id> ones back to /local/domain.

Don't try and destroy the domain twice if it fails within construct.  This
wasn't harming anything, but there's no need.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/xend/XendDomainInfo.py